<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<meta name="format-detection" content="email=no">
	<meta name="applicable-device" content="mobile">
	<meta name="author" content="jsl" />
	<title>姿美汇</title>
	<link rel="apple-touch-icon" href="../img/logo100.png">
	<link rel="icon" href="../img/logo100.png">
	<link rel="stylesheet" type="text/css" href="../lisp/vant/css/vantCss.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../css/common.min.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../css/productDetails.css?rev=@@hash" />
	<link rel="stylesheet" type="text/css" href="../css/gap.css?rev=@@hash" />
	<!-- 引入自己的css -->
	<link rel="stylesheet" type="text/css" href="../css/index.css?rev=@@hash" />
</head>

<body>
	<div class="hui"></div>
	<div class="bai"></div>
	<div class="hintInfo"></div>
	<div class="loadImgBox">
		<img class="loadImg" src="../img/load.gif?v= 7f0d7ae" />
	</div>
	<div id="app" v-cloak>
		<div class="index-data">
			<van-pull-refresh v-model="isLoading" @refresh="onRefresh">

				<!--首页轮播图 start-->
				<van-swipe :autoplay="3000">
					<van-swipe-item v-for="(image,index) in swiperData" :key="index" touchable='true'>
						<img :height="!!image.width?(width/image.width)*image.height:'auto'" class="mainimg needsclick" @click="bannerJump(image)" v-lazy="image.imageUrl">
					</van-swipe-item>
				</van-swipe>
				<!--首页轮播图 end-->

				<!--首页商品类型 start-->
				<div class="mians">
					<template v-for="(itm,inx) in tabData" :key='itm.code'>
						<div class="imguor" @click="tabJump(itm)">
							<img class="imgbox-s" v-lazy="itm.imgUrl" />
							<span class="ziti" v-text="itm.name"></span>
						</div>
					</template>
					<div v-show='versions>1.1' class="imguor" @click="location.href='PtIndex.html?GroupType=new_guest_pt_groupon'">
						<img class="imgbox-s" src="../img/index/pt.png" />
						<span class="ziti" v-text="'新人专享'"></span>
					</div>
				</div>
				<!--首页商品类型 end-->

				<!--全部商品 start-->
				<div class="allProduct">
					<div class="ss ssMarginBottom">
						<img class="zuoimg" src="../img/index/zuo.png" />
						<span class="centerall">全部商品</span>
						<img class="zuoimg" src="../img/index/you.png" />
					</div>
					<div class="ss">
						<span class="alld">ALL THE COMMODITIES</span>
					</div>
				</div>
				<!--首页所有商品列表-->
				<van-list v-model="loading" :finished="finished" @load="onLoad">
					<div class="product-details-hot product-details-hot-false">
						<div class="product-hot needsclick" v-for="(item,index) in listData" :key='index' @click.stop="toProduct(item.virtualGoodsCode,item.imgUrl,item.goodsName,item.isSelf)">
								<!-- <span v-if="item.isKill==0" class="product-sale-hot">秒杀</span> -->
								<!-- <span v-if="(!item.isHot||item.isHot==0)&&item.isKill==1" class="product-sale-hot">热卖</span> -->
								<img v-if="(!item.isHot||item.isHot==0)&&item.isKill==1" class='product-sale-hot-img' src="../img/index/hotProduct.png" alt="hot">
								<img v-if="item.isKill==0" class='product-sale-kill-img' src="../img/index/setTimeKill.png" alt="限时秒杀">
								<div class="productBox-recommend">
									<img :id="'index'+index" v-lazy="item.imgUrl.indexOf('group1/M00')<0?item.imgUrl:item.imgUrl+'_600x8000.jpg'" />
								</div>
								<img class="product-line" src="../img/product/line.png" />
								<div class="product-hot-division"></div>
								<div class="product-hot-info">
									<span v-if="(!!item.isHot&&!!item.isSelf)&&item.isKill==1" class="product-tm-hot">天猫</span>
									<span v-text="item.goodsName"></span>
								</div>
								<div class="product-hot-price">
									<span v-show="item.isKill==1">¥<i v-text='!!isFx?item.minPrice:item.lowSellingPrice'></i><u class="product-hot-get-price" v-show='!!isDz'><i>/</i><u>赚{{item.minCommission}}</u></u></span>
									<span v-show="item.isKill==0">秒 ¥<i v-text='item.minPrice'></i></span>
									<span class="no-price">¥<i v-text='item.lowMarketPrice'></i></span>
									<span v-show="!!item.lowVipPrice&&item.isKill==1">
										<img class="product-hot-vipImg" src="../img/product/viplist.png" />
										<u v-text='item.lowVipPrice'></u>
									</span>
								</div>
						</div>
					</div>
				</van-list>
			</van-pull-refresh>
			<div class="loadOver" v-show="all">已加载全部</div>
		</div>
		<!--tabbar-->
		<van-tabbar v-model="active">
			<van-tabbar-item icon="chat" @click="location.href='index.html'">
				<span>首页</span>
				<img slot="icon" slot-scope="props" :src="props.active ? icon.active : icon.normal">
			</van-tabbar-item>
			<van-tabbar-item v-show='versions>1.1' icon="chat" @click="location.href='PtIndex.html?GroupType=common_pt_groupon'">
				<span>拼团</span>
				<img slot="icon" slot-scope="props" :src="props.active?icon.active3 : icon.normal3">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='shoppingCart.html'">
				<span>购物车</span>
				<img slot="icon" slot-scope="props" :src="props.active? icon.active1 : icon.normal1">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='FPtVoteGoods.html'">
					<span>票选优品</span>
					<img slot="icon" slot-scope="props" :src="props.active? icon.active4 : icon.normal4">
			</van-tabbar-item>
			<van-tabbar-item icon="chat" @click="location.href='my.html'">
				<span>我的</span>
				<img slot="icon" slot-scope="props" :src="props.active ? icon.active2 : icon.normal2">
			</van-tabbar-item>
		</van-tabbar>
	</div>

</body>
<script src="../lisp/jquery-2.1.4.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/fastclick.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vue.min.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vant/js/vantJs.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../lisp/vue-lazyload.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../js/constant.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<script src="../js/common.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>
<!-- 引入自己的js -->
<script src="../js/index.js?rev=@@hash" type="text/javascript" charset="utf-8"></script>

</html>
